home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A rosy blurred effect. Original idea: Angela M. Cable.',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Bound': (0.17125,0.07,0.82375,0.94),
- 'Darkness': 56,
- 'Defocus': -2,
- 'Frame': {
- 'FrameColor': (198,87,205),
- 'Material': App.Constants.LensFrameMaterial.Ceramic,
- 'Style': App.Constants.LensFrameShape.Circular,
- 'Thickness': 2
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (193,105,155),
- 'LightDirection': (1,0.895966,-0.056091),
- 'HighlightSize': 4
- },{
- 'LightColor': (193,105,155),
- 'LightDirection': (1,0.895966,-0.056091),
- 'HighlightSize': 4
- },{
- 'LightColor': (193,105,155),
- 'LightDirection': (1,0.895966,-0.056091),
- 'HighlightSize': 4
- },{
- 'LightColor': (152,25,0),
- 'LightDirection': (-0.968,0.9387,-0.9885),
- 'HighlightSize': 10
- }],
- 'MaxAmbience': 84,
- 'MinAmbience': 5
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 79,
- 'Magnification': 63,
- 'LensMaterial': {
- 'Color': (193,105,155),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'LensOpacity': 61,
- 'Refraction': 79,
- 'ShapeType': App.Constants.LensShape.VCylindrical,
- 'Shininess': 31
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-